.

Test.AssertTest

Creates an MPX assertion by asking the MPX to assert that 1 equals 2. This is useful for testing MPX assertion handling routines.

Version History

Introduced in MPX 2.0.

Result

Void

Common Exceptions

 
Error Occurs when...
Assertion Whenever AssertTest is called.

Visual Basic

Syntax

Sub AssertTest()

Sample Code

 

Mpx.Test.AssertTest()


Sample Application

ErrorHandling1

C#

Syntax

void AssertTest();

Sample Code

 

Mpx.Test.AssertTest();

 

See Also

AssertException Object
AssertException Overview

Enumerations
Error

Overviews
Error Handling Overview


       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering